<?php


namespace app\shopConsole\service\tag;

use app\dao\goods\ShopTagDao;

class TagQueryService
{
    public function getPageListByShopId($shop_id, $page, $perPage)
    {
        $shopTagDao = new ShopTagDao();
        return $shopTagDao->getPageListByShopId($shop_id, $page, $perPage);
    }

    public function getListByShopId($shop_id)
    {
        $shopTagDao = new ShopTagDao();
        return $shopTagDao->getAll($shop_id);
    }
}